package com.sxg.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sxg.common.annotation.Excel;
import com.sxg.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 商品详情信息对象 sxg_goods_detail
 * 
 * @author 浪漫写尽歌谱
 * @date 2024-01-09
 */
@Data
public class GoodsDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品id */
    private Long goodsId;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 出版社 */
    @Excel(name = "出版社")
    private String publishingHouse;

    /** 出版时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出版时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timePublication;

    /** 页数 */
    @Excel(name = "页数")
    private Long pageNum;

    /** 字数 */
    @Excel(name = "字数")
    private Long sizeNum;

    /** 开页 */
    @Excel(name = "开页")
    private Long openBook;

    /** 纸张 */
    @Excel(name = "纸张")
    private String paper;

    /** 包装 */
    @Excel(name = "包装")
    private String packing;
}
